#!/bin/bash



#mysql 依赖
sudo apt-get update
sudo apt-get install ncurses
sudo apt-get install libncurses5-dev
sudo apt install sysv-rc-conf





#apache 依赖
#依赖安装

sudo apt-get update
sudo apt-get -y install build-essential 
sudo apt-get -y install gcc 
sudo apt-get -y install g++
sudo apt-get -y install ruby
sudo apt-get -y install autoconf automake libtool
sudo apt-get -y install libpcre3 libpcre3-dev
sudo apt-get -y install openssl libssl-dev
sudo apt-get -y install zlib1g-dev
sudo apt-get -y install libxml*
sudo apt-get -y install zlib*
sudo apt-get -y install libexpat1-dev
autoreconf --force --install.
libtoolize --automake --force
automake --force --add-missing


#php 依赖
#安装依赖
sudo apt-get update
sudo apt-get -y install libxml2-dev
#安装gcc
sudo apt-get -y install build-essential
sudo apt-get -y install openssl 
sudo apt-get -y install libssl-dev 
sudo apt-get -y install make
sudo apt-get -y install curl
sudo apt-get -y install libcurl4-gnutls-dev
sudo apt-get -y install libjpeg-dev
sudo apt-get -y install libpng-dev
sudo apt-get -y install libmcrypt-dev
sudo apt-get -y install libreadline6 libreadline6-dev
sudo apt-get -y install libexpat1-dev libgeoip-dev libpng-dev libpcre3-dev libssl-dev libxml2-dev rcs zlib1g-dev libmcrypt-dev libcurl4-openssl-dev libjpeg-dev libpng-dev libwebp-dev pkg-config
sudo apt-get -y install libfreetype6-dev
sudo apt-get -y install libxslt-dev
ln -s /usr/lib/x86_64-linux-gnu/libssl.so /usr/lib